/*
Domain Class: Department
Author: Kyle Hawkins

*/
package norm.reference

class Department {

	String departmentCode
	String departmentName
	Division division
	
	static belongsTo = [comparisonGroup:ComparisonGroup]

    static constraints = {
		departmentCode(blank:false)
		departmentName(blank:false)
		division(blank:false)
	}
	
	static mapping = {
		table "NORM_department"
	}
	
	String toString()
	{
		return departmentCode
	}
}
